package com.steve.xfood.repository;

import com.steve.xfood.dataobject.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author steve
 * @date 2020/5/25 16:51
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo, String> {

    /**
     * 根据openid查询卖家信息
     * @param openid
     * @return
     */
    SellerInfo findByOpenid(String openid);
}
